package test4;

public class WireTransfer extends Payment{
    private String bankID;
    private String bankName;

    public WireTransfer(double amount, String bankID, String bankName) {
        super(amount);
        this.bankID = bankID;
        this.bankName = bankName;
    }

    @Override
    public void processPayment() {
        System.out.println("Wire transfer payment processed.");
    }

    public String getPaymentDetails() {
        return "Wire Transfer, Bank ID: " + bankID + ", Bank Name: " + bankName + ", Amount: $" + amount;
    }
}
